<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>WanDa</title>
<script type="text/javascript" src="/skin/WDYYhtml/js/jquery.js"></script>
<script type="text/javascript" src="/skin/WDYYhtml/js/common.js"></script>
<link rel="stylesheet" href="/skin/WDYYhtml/css/style.css" type="text/css" media="all" />
<link rel="stylesheet" href="/user/skin/js/validationEngine.jquery.css" type="text/css" />
<script type="text/javascript" src="/user/skin/js/jquery.validationEngine.js"></script>
<script type="text/javascript" src="/user/skin/js/jquery.validationEngine-cn.js"></script>
<script>
jQuery(function(){
	jQuery("#regform").validationEngine();
});

function setAgree(){
	if(jQuery("#agree").is(':checked')){
		jQuery("#submit").attr("disabled","");
	}else{
		jQuery("#submit").attr("disabled","disabled");
	}
}

function reloadImg(id) {
   var obj = document.getElementById(id);
   var src = obj.src;
   var pos = src.indexOf('?');
   if (pos >= 0) {
      src = src.substr(0, pos);
   }
   var date = new Date();
   obj.src = src + '?v=' + date.getTime();
   return false;
}

function setIsfee(num){
	jQuery("#isfee").val(num);
}
</script>
</head>

<body>
<div class="header-wrapper">
	#parse('/inc/header.htm')
</div>

<!---->
<div id="Wrapper">
	<div class="wrapper">
		<!---->
		<div class="reg2">
			<div class="reg-step">
				<ul><li><span class="active">基本信息</span></li>
					<li><span>邮箱激活</span></li>
					<li><span>完成注册</span></li>
				</ul>
			</div>
				
			<h2>加入万达演艺，离自己的梦想更近一步！</h2>
			<p class="p0">在这里，有优质的环境，闪耀的新人，行业的牛人！</p>
			<form id="regform" name="regform" action="/user.do?parameter=saveRegVIP" method="post">
			<input type="hidden" id="isfee" name="isfee" #if($tmpUser) value="$tmpUser.isfee"#else value="2"#end />
			<div class="rform">
				<div class="rform1">
					<h5>加入我们，您可以</h5>
					<ul><li><em>1</em>展示您的形象或作品</li>
						<li><em>2</em>增加曝光</li>
						<li><em>2</em>获得合作机会</li>
						<li><em>2</em>推荐您的作品到微博等强力社会化媒体</li>
					</ul>
				</div>
				
				<div class="rform2">
					<h5>请认真填写您的专属资料：</h5>
					<ul class="u2">
						<li><strong>用户名：</strong><input id="acount" type="text" name="acount" class="validate[required,length[0,20]]" value="$!tmpUser.acount" /></li>
						<li><strong>密码：</strong><input id="password" type="password" name="password" class="validate[required,length[0,20]]" /></li>
						<li><strong>确认密码：</strong><input id="password1" type="password" name="password1" /></li>
						<li><strong>Email:</strong><input id="email" type="text" name="email" class="t3 validate[required,custom[email]]" value="$!tmpUser.email" /></li>
						<li><strong>您所在的地址：</strong><input id="homearea" type="text" name="homearea" class="t4 validate[required,length[0,20]]" value="$!tmpUser.homearea" /></li>
						<li><strong>您所从事的职业：</strong><input id="professional" type="text" name="professional" class="validate[required,length[0,20]]" value="$!tmpUser.professional" /></li>
						<li><strong>个人标签：</strong><input id="keywords" type="text" name="keywords" class="t3 validate[required,length[0,20]]" value="$!tmpUser.keywords" /></li>
						<li>
						<div class="seltype" id="setType">
							<strong>分类选择</strong>
							<ul>
								<li><a class="active" href="javascript:setIsfee(2)">歌手</a></li>
								<li><a href="javascript:setIsfee(3)">舞蹈</a></li>
								<li><a href="javascript:setIsfee(4)">演员</a></li>
							</ul>
						</div>
						</li>
						<li><strong>请输入验证码：</strong><input class="t5" name="vcode" type="text" id="c_vcode" /><img id="vcode" src="/valicode" alt="验证码看不清楚？请点击刷新验证码" style="cursor:pointer;" onClick="return reloadImg('vcode');" /></li>
					</ul>
					
					<p class="p1">
						<label><input id="agree" type="checkbox" name="agree" onclick="setAgree()" />同意</label><a href="#">注册协议</a>
					</p>
				</div>
			</div>
			
			<div class="rbtn">
				<input id="submit" type="submit" value="提交注册" disabled="disabled"/>
				<!--button name="submit" onclick="return checkForm()">提交注册</button-->
			</div>
			</form>
		</div>
	</div>
	<div class="footer">
		#parse('/inc/copyright.htm')
		<p></p>
		<p></p>	
	</div>
</div>

<!---->
<div class="footer-wrapper">
	<div class="footer">
		#parse('/inc/nav.htm')
	</div>
</div>

<!---->
<div id="NavLeft"><a href="javascript:void(0)">Show</a></div>
<div id="NavRight"><a href="javascript:void(0)">Star</a></div>
</body>
</html>
#if($msg)
<script>
alert('$!msg');
</script>
#end